use a mask trick to speed up the square update
Merge pull request #2 from Platane/master

mask trick on color picker