   activate: (active) ->
     @active = active
 
-  clicked: (e) ->
+  clicked: (e) =>
     @move Math.floor(e.offsetX/@options.cellSize) if @active
 
-  mouseMove: (e) ->
+  mouseMove: (e) =>
     if @active
       highlightColumn = Math.floor e.offsetX/@options.cellSize
       if highlightColumn != @highlightColumn

    @grid[column].push colour
    @moves.push [colour, column]
    @options.afterMove(@grid) if @options.afterMove
    this.animateMove($.proxy(this.start, this), @options.cellSize/4, (7 - countersInColumn) * 4, column, colour)



    @context = @canvas[0].getContext '2d'
    @overlayContext = @overlayCanvas[0].getContext '2d'
    @reset()
    @overlayCanvas.click @clicked
    @overlayCanvas.mousemove @mouseMove
    @overlayCanvas.mouseleave @mouseLeave
    @drawFrame()
    this.initialiseGameState() if @options.grid && @options.moves

