fixes #295 - Updated preview box to clear correctly as necessary