Fixed bug in falling