Fixed autolayout bug.