Fix for z affecting player even in gui with flight control