Added assert to catch users using Begin/End without a first NewFrame