Hotfix. Fixed wrong cursor positioning over canvas.
Merge pull request #1224 from alex-zen/master

Hotfix. Fixed wrong cursor positioning over canvas.