[DF-873] and [DF-967]. Implementation of DRAW_TILED option for sprites.