I have tried to add in draw function this line
but it doesn't help...
- topLayer.putPixelsIntoTexture();
but it doesn't help...