Moved caption before creating new screen windows.

This fixes some repainting issues for vim.