Fix #874: Allow resizing to a width greater than the window width