Fixed 2 bugs

1.You could jump through ceiling
2.Animations wouldnt change correctly.