SDL: fix resize