Set statusline more reliably