Fix the drawing connection for terrain

see title