Only position menu bar components when necessary