Fix maps not being bound in materials