Serious bugs fixed including tile map size being truncated to uint8_t upon resize