Adds tracking functionality for corners.