Adjust height correctly for iOS7.