[DF-1661] is fixed - check for sprite is NULL is added.