Fixed a bug that prevented falling off the track when upside down