minor bug fix (now able to switch back to line rendering by setting a boolean)