Fix background drawing

There's still some race happening though, which prevents the client of showing
anything.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>