Tracking the location of objects on a screen