Added a TC: removing img at IE might cause an exception.