@ericchesek I remember doing a lot of fiddling, changing the order in which I set parameters, loaded images and compiled—eventually, I got it to work. One aspect of the work-around was indeed to avoid setting the mode to horizontal. Took me like five hours, so don't give up!