fixed edge of platform landing bug