Resize the backbuffer when the window is resized.