ui: Eliminate allocating gfx::Canvas on the heap for every view.