small fix to mouse offset on translation