Refactor much of the backpath draw mode logic