Fixed issue where tile_map image data would not always load properly
Added function to tile_map for generating quads from palette image