Fixed a rendering issue regarding tile layers.