Adjust timestamps correctly in elements with external pipelines

Change-Id: I7f66baf4d6df48d05cbb7b4e1c4958c77d0e178f