Fix the world's most annoying pointer arithmetic error