mapImage(): fix horiz-line bug [issue 285]