Fixed bug in iOS6 by disabling autolayout.