Knockout binding for canvas