Added grid snapping, can be applied to anything but mostly ground tiles.