(setq auto-window-vscroll nil) seems to fix the particular problem. Would it make sense to make it nil by default, and only turn it on in modes that use images? In other contexts it tends to make the behavior less predictable.

Evgeni