Fix erasing bug

Erasing function was clearing the cell on the canvas but it wasn't
resetting the element in the boardGrid array.