reduce number of deferred layouts
fix position of debug overlays