When opening, append Colorbox to the DOM if it was detached for whatever reason.  Fixes #645.