Fixed horrible calendar rendering bug.