make muffer and buffer-static canvases handled by JS