Fix commit node rendering

Add test Commit tree to test canvas rendering with narrow tree
rendering algorithm. Change map() to for loop in render_nodes()
Rendering of nodes successful