fix bug where color selector does not show the true current color