fixed the toolbar’s position so that it would not use an uninitialised value.