Compositor-side support for `position:fixed`

Some changes that need to happen for #782.