Removed superfluous shader.activate() calls