Fixed bug in calculating the relative mouse position
Merge pull request #1 from stamp/master

Fixed bug in calculating the relative mouse position