Added exception recovery for bitmap corruption errors.