I think Doesn't Really Matter and Nutty Professor 2 was #1 at the same time. The single came out at the end of May in 2000 and stayed #1 for 3 weeks and the film was released late July. So it depends on when the single eventually reached #1 and if it aligned with the release of the movie.