Refactor fabric.StaticCanvas#renderAll