     @img.width = @hex_box.width
     @img.height = @hex_box.height
     @hexes = @piece.hexes
-    @hex_draw.set_context("piece_mask")
+    context = @img.getContext('2d')
     anchor_a = @hex_box.anchor_hex[0]
     anchor_b = @hex_box.anchor_hex[1]
     anchor_x = 0
     if @hex_box.corner_fit == "high" then anchor_y = 0 else anchor_y = 10
-
     for hx in @hexes
       aa = hx[0]
       bb = hx[1]



  construct_piece: (sym) ->
    @sym = sym
    @hexes = @get_hexes()
    @hex_box.set_hex_box(sym)

      response = JSON.parse(msg_in)
      @pstring = response.pstring
      app.grid = get_pattern_grid(@pstring)
      app.pz_status.start_new_puzzle()
  xhr.send()

