Added protection against invalid supersampling scale.