Pass a model to `Controller::getContentElement()` where possible (see #6475)