Fixed a bug with show_icon=FALSE and resizing

When the "show_icon" property was set to FALSE an open date picker would
not close upon window resize and therefore it would remain in an
incorrect position if the parent element was to change position during
the process; thanks Marco!