Fixed the issue of resizable triggering window resize event