Sets frame to frame. This should be called when the canvas is put into a frame
This holds the value set by set-frame.