Fixed ladder crash bug