fix unchecked dynamic rendering in copy projects controller

https://www.openproject.org/work_packages/3211.