Fixes issue with initial positioning when some actions are disabled

When disabling actions, the toolbar will position itself wrong on the first invocation. It then jumps into place on subsequent displays. This fixes the issue.