Fix mouse getposition bug