Added logic for enemy with no path to return to starting position and rotation