Fixed firefox issue with calendar.