Set the background rather than paint it.