Fix support of lazyload/lazyerror events in picture addon
fix error in the case of undefined width attribute