Fixed falling-out-of-planes bug