Fix coordinate handling when avoiding spawning vehicles on top of each other.
Introduce intermediate variables for tile-local coordinates, leaving original x and y alone to correct collision calculation.
Remove only-used-once intermediate variables and const some stuff.
Merge PR #1563 - Vehicle spawning fix