Fixed mouse position offset error