Fixed selection display bug in calendar