Fix to shooting up through floor in forest

Fixes the issue pointed out in a comment in #2247 ,

To reproduce follow the instructions laid out by @l3france . 
This issue was caused by checking if standing is possible before velocity/position were changed, this moves the standing code to a more reasonable location.