bugfixes for flying units but still lag in general