Fix issues with textures when there was a tile entity nearby.