fixed keeping vertical player position when wrapping in EM engine