A popular chess app inadvertently broke the mathematical limits of older Apple devices