fix some bugs with drawing tracks and enforce proper track placement on setup