Fixed bug which caused secondary swatch to not apply when right-clicking on the canvas.