[FIX] Activity view performance

Implements [ticket 2759](https://www.openproject.org/work_packages/2759)

:exclamation: Is related to core [PR 712](https://github.com/opf/openproject/pull/712)