Fixed autolayout issues on iOS 6