Corrected a compatibility bug with transparency.