Use "Base" instead of "Background".

BTW. There is an error in your code. You are calling paint() with cg instead of g.