Fix delayed resize bug in SDL 1 interface
Merge commit '638c'