Fix #235, board state not clearing properly.

#235