Fixed some pupil detection errors