fix sxs resize handling