Fix overlays to work with MSAA render targets

* Some work just per-pixel rather than per-sample but it's not too
  important