more improvements to trackrect