Fix the IFrameWidget initial load bug