before "x" and "y" is not a "var" to set, otherwise the position of the mouse is not updated.