Fix colour picker on Windows, see #34.

Not sure if this does fix the issue, but need to commit to test on Windows...