Fixed bouncing and crashing under iOS 7