Charlie Chaplin, Director