Render 0 when unit magnitude is 0, closes gh-15