fixed mouse offset issues