Fixed the bug where you die when hitting platforms