Move to an elif clause of the if in line 778, as it's just another combination of mode,self.mode under the master transparency condition