fix autolayout issues under Mavericks