Fix set statusline location, readd fix from #243

Ref #303