fixed a color bleed with buffer