fixed bug with transparent color not working