update: fixed a bug that affects jumping after top edge collision