[4.0] Prevent using an empty textureset