fixed physics when jumping off ledge