set 'overflow: auto' on $box in modalDimensions.

If you close the colorbox by clicking on the background overlay before
the image inside the box is loaded, overflow on $box remains set to
'hidden', so that the $groupControls are hidden if you re-open the box.