Update tiled-gallery.js

The images widget itself may not be updated, if there are no parent element with style attr width and height, e.g. the widget is placed on the page (not on aside). Otherwise the width and height is set to zero pixels.