changed pos > image_pos for clarity in a couple of places
(#364)