Bug when history size equals window rows.