fixes presentation time calculations