fix iframe render bug