Fixed texture/material linking.