Fix #25

Scan pattern needs to be set again after changing colorspace