Fixed bugs in MonthView

Fixed bugs in MonthView