Make alignment work for non-expand components.