You are right, I gave it a try on a new project and I am getting the same behavior. @mvaligursky and idea how line rendering is handled here?
In general renderLine() is considered an API meant for debugging primarly. Normally you would be creating lines using the new Mesh API.
Check this post for more info: