Fixed bugs in the colour picker.
Also change the selection for the roto selection rectangle only when
the pen is released