Fix animation when standing on platform.