More fixes to image getter (for Firefox)