Take care of missing scanlines.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>