Properly bind the this pointer for functions given to the Renderer