cursor-tracker: Update for Cogl APIs as well