Tiny fix: made the code for the cursor more robust, and completely removed sprite position dependancies. Also made updateSpriteX and Y methods to be a tad more efficient with function calls.