Fixed bug in client-side coloring