Only alter material type if fancy fluids is enabled.