Fixed when player is on/off platforms