made the character not fall through the platform