fixed the callback after image was loaded. Now it returns the element which had triggered Photobox (a link probably)