Fixed problem with teleporting mouse cursor