Fixed crash on Chrome 27

Fixed Colorbox crash on Chrome 27 when clicking image:

Error message: "Uncaught Error: NotFoundError: DOM Exception 8 "