Correctly fill textures with null on apply function