Some changes related to renderer2d

Some changes related to renderer2d