Fixed reorient and adjust AI.