Cleanup RenderCommand code

RenderCommand code is cleaner
Merge pull request #4518 from ricardoquesada/renderer_with_love

Cleanup RenderCommand code