Fixed day positioning by updating the math used for preferredHighlightRange