Added random moving behavior for enemy when player is not in range.