clear the viewport each cycle