Fixed autolayout bug