Fix for a change in iOS7.1