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.
The director of the film, J. Lee Thompson, initially desired Hayley Mills to play Martin's role.  However, he later admitted that he intentionally made Martin's filming experience difficult.