Fixes #4. We now push elements that are out of range offscreen, so that
they are no longer visible.