fix scrolled window large the native window size bug