Fix bug where rerender wouldn't mark selected day