Mostly working, just need to apply a max overlap to avoid tunneling, although a ray would be better.
Added max overlap clamp.
Tilemap collision fixed, regardless of rotation, number of overlapping tiles and speed (to a point anyway). Maps also don't crash if they are smaller than the render area. Layers can be positioned successfully anywhere in camera but collision isn't yet offset for this.