Fixed the animation flicker by removing an unnecessary call to repaint() in the BoardView