Make drag-and-paint work

Fixes #7.
Click-and-drag painting now works for all nonogram cell states.