fix html5 canvas colors issue