fixed mouse position bug, closes #83