small fix to pupil coordinate calculation