Fix for calendar suddenly not showing