fixed spawning to not depend on tile positioning.