[CSS] Fix bug where refreshing a view due to ensureViewHasBeenRefreshed didn't add the view to refreshedViews.