fix 'player gets stuck on green cube' bug