[#620] removed redundant code from the webGL renderer now that it inherits from renderer too