I'm using canvas2d though, not webgl, and I want it to be filled with a copy of the canvas.
What I meant is that it doesn't clear at all if it is above. It just loads the texture without clearing first.
So for some reason I have to clear it at the very end so that it is cleared in the beginning of the next event cycle.