fix resizing crash
Merge pull request #10 from tsdeng/fix_resize_issue_only

fix resizing crash