Patterns in randomness

I made a pathfinding script for the enemy to go to a random location on the screen, but he is following a pattern instead of going to a random position. If anybody knows the reason for this, I would appreciate the help.

He keeps going from here: Problem1.PNG to here: Problem2.PNG