fix bug

fix bug when window resize event triggered on Android