The director of the film, J. Lee Thompson, originally wanted Hayley Mills for Martin's part. Because he could not get Mills, however, he later admitted to having deliberately given Martin a hard time during filming.
J. Lee Thompson, the director of the movie, originally intended for Hayley Mills to take on the role of Martin. However, after failing to secure her, he intentionally made Martin's acting process challenging during filming.