Fixed issue were AI would move before player