Make sure all gravity is done before the next logic frame