Correctly retrieve the mouse position and adjust worldoffset