when i switch layers and colors sometimes some random pixels appear on the layers