Fixed an issue with the month display where certain events on the first and last day of the months would get cut off