Copy 2d context of an HTML5 video element to a canvas element