Freeze cursor when moving to new screen