Fix picking color from editor background yielding black instead of white

Fixes #345.