fix resize not work on iframe (web panel)