Fixing colorbox constraints