Fix color picking from reference images
Desaturation now affects the picked color, and reference images are ignored for picking if hidden.