fixed absolut position bug for mouse