Fixed bugs with transparent