Fix display offset (for scaled fullscreen)
mouse pos must be integers
Fix right shift for negative numbers
Remove leftover debugger statement