fix view height problem under iOS 6