Fixed rendering when there's no snippet selected.