Fixing bug in circular photometry for corner positions