You need to paint the bacground too

You should use delta timing: http://en.wikipedia.org/wiki/Delta_timing