Fix ambient texture assignment