I am convinced that possibly the 3.5” iphone emulator is broken in xcode 5 to return bad values SOMETIMES.