Separate fixed elements rendering, mark root element background.
document::render accept render_type parameter:
render_all - render all elements
render_no_fixed - don't render fixed elements
render_fixed_only - render the fixed elements only
background_paint now have is_root member. You can check is_root to draw background in entire window (not in paint rectangle only).