Fix SDL resize regression in last commit. (SF-186)