Bug 1058853 - Don't break the gallery if we have corrupt images

Wait a minute. This isn't right. Before returning, you need to set offscreenImage.src = '' and call revokeObjectURL() as we do below.