Update the mask after moving the panel
now the panel mask is the intersection between screen geometry and panel geometry, so the mask must be updated only after setting the new geometry, or a whole section of the panel will be cut out of the input mask, not receiving any mouse input
(cherry picked from commit 7cb0c96e)
921c2311 Update the mask after moving the panel b56fcea1 iremove debug