fix(ihm): correct jscalendar display when window is tiny (closes #4540)