Fix cyclical QPaintEvent updates for color button, which caused excessive cpu cycles