fixed bug in method AbstractGraphItem.setCurrentColor()