Hotfix/16455 star watch icon in details pane not accessible

Copy of https://github.com/opf/openproject/pull/2057 for release 4.0.

OK to merge once travis agrees.