Store times relative to the first event

This avoids accuracy problems when zoomed in.