Fix InvariantError due to renderComponentToString signature change on master