Fixed minor shader autogeneration problem