       html = @template(template_data)
       @$el.html(html)
 
-      @button_bar?.attr('style', "width:#{@canvas.get('canvas_width')}px;")
+      @button_bar?.attr('style', "width:#{@canvas.get('width')}px;")
 
       @$el.append(@canvas_view.$el)
       @canvas_view.render()

      @title_props = new text_properties(@, {}, 'title_')

      @view_state = new ViewState({
        canvas_width:      @canvas.get('canvas_width')
        canvas_height:     @canvas.get('canvas_height')
        outer_width:       @canvas.get('canvas_width')
        outer_height:      @canvas.get('canvas_height')
        x_offset:          0
        y_offset:          0
        min_border_top:    (options.min_border_top    ? @mget('min_border_top'))    ? @mget('min_border')


    _paint_empty: (ctx) ->
      ctx.fillStyle = @mget('border_fill')
      ctx.fillRect(0, 0,  @canvas.get('width'), @canvas.get('height')) # TODO
      ctx.fillStyle = @mget('background_fill')
      ctx.fillRect(
        @view_state.get('border_left'), @view_state.get('border_top'),
