Fix pause handling and pipe addition

Pipes are now added at regular intervals, regardless of any pauses in
between. Previously, pausing the game could mess up pipe intervals.