fix(ihm): correct jscalendar display when window is tiny (refs #4529)