This link might provide some hints:
https://stackoverflow.com/questions/9103535/colorbox-not-working-properly-when-invoked-from-within-jquery-slide
I searched the plugin files for the line of code that this other person targeted and was able to rewrite to fix a similar problem, but so far I haven’t found it.