bugfix for lazy image loading