set bounds iOS 8 fix