void OnMouseExit()
    {
        // Only when interactive is enabled
        if (!interactive)
        {
            return;
        }

        hovered = false;
        focused = false;

        //Debug.Log("MouseOut");
        UnityWebCore.ApplyCursor(0);

        UnityWebCore.MouseUp(view.m_TextureID, 0, lastX, lastY);
        UnityWebCore.MouseUp(view.m_TextureID, 1, lastX, lastY);
        UnityWebCore.MouseUp(view.m_TextureID, 2, lastX, lastY);
        UnityWebCore.MouseMove(view.m_TextureID, -1, -1);
    }
    void OnMouseOver()
    {
        // Only when interactive is enabled
        if (!interactive)
        {
            return;
        }

        hovered = true;

        RaycastHit hit;

        if (Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit))
        {
            int x = /*width -*/ (int)(hit.textureCoord.x * width);
            int y = height - (int)(hit.textureCoord.y * height);
            UnityWebCore.MouseMove(view.m_TextureID, x, y);
            lastX = x;
            lastY = y;

            //UnityWebCore.ApplyCursor(1);
        }
    }