Reduced memory usage by 50% because I'm an idiot.
Fixed a bug in release mode build where the map renderer didn't behave the same as in debug mode. Either the fact that it worked in debug, or the fact that it didn't in release is a bug in SDL.