Fix unable to change colours in char editor (#174)