Issue #5600: Fixed a bug about setColor