Resolution limit of the quadrant photodetector