Added support for buffer canvas and option of old 'framerate'