Added missing repaint in ShapeButton.