Fix recursive bug in ColorPane