fix agenda selection alignment when cell height is customized (issue 1035)