Moved the refresh() which is run after clearing the screen.

  This closes #157 and still ensures the `clear()` primitive
 works as expected