fixup gwt: remove bitmap element on error