Fixed bug that occurred when the observed object is an iframe