Fix initial line endings in toolbar (fix #320)