Fixed issue with showing line fro last element.