Bug fix! generatePosition did not work as expected.

Spawning and moving units should work more as expected.