Changed how the background is handled.