Update the cursor position using GetSpritePosition().

The module needs to correctly track the mouse position by querying the
current X cursor position in InputDevice::getPointerPos().

Fixes: https://sourceforge.net/p/tigervnc/bug-tracker/152/