fixed browseResize from thread hopefully