Fix history positioning