Added advanced tinting (only for blit mode).