fit offline overflow image

Was fixed for 2.5. But the issu exists again in 3.1.

Pls. see also:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30974