fixing jump bug when falling with Swan