Before the invention of photography, artists struggled to depict how horses' legs moved in a gallop, resulting in inaccurate portrayals of horses in paintings.