Fixed problem with AutoLayout.