Fix a bug of PupilTracker after previous major update.