fixed mouse movement
Merge pull request #2 from Ortix92/states

fixed mouse movement