Fix color problem on other platforms