Prevented an error if $.colorbox.remove is called during the transition.