Fix off-by-one bug with header views for API 10