Fix for prettyPhoto