Only use offsetHeight and offsetWidth if they are non zero. This allows us to use retinajs on hidden elements.
bump