Block mouse interaction when picking a color

Fixes #361.