Replace CGVector with CGPoint to make it compatible with the iOS 6.1 SDK