Issue #5908: setColor is error
Merge pull request #2225 from VisualSJ/5908

Issue #5908: setColor is error