changed getUserPosition to getPointerPosition, and setUserPosition to setPointerPosition