Implemented player wrap around.