Fixed issue with print functionality of calendar