Small code cleanup on the tmx loader.