Fixed bug that caused player to stick to the bottom of platforms.