Fix handling of 1.4.x teerrain.png based textures