Yes, we are doing that.

`2.f * xfregs.viewport.wd` is the actual viewport width. We have this particular code in other places, so to ease recognition I left it like that instead of optimizing it. If you think it's more confusing than helpful, I can write it in the optimized form.