bug fix in rendering invalidation when picture loaded