Made game work on iOS 7