Fixed a small bug while color picker is shown.