Fix issue with jumping multiple times in platform