Removed redundant code

Accidentally left some redundant code inside the render function. Cleaned it up... Again, no functionality change here.