fix bad transparency mask error