Fix vertical position of timeline chart elements in aggregation

fixes #4889

https://www.openproject.org/work_packages/4889