It turns out you can resize the window by dragging the corner, even if the frame is hidden. Haven't found an easy way to set it to be 1024x768.