Fixing overflow issue with rotated players.