Px4 Flow without zero reading

Hi all! I would like to know if anyone how to prevent zero reading from optical flow when landing on a vertical surface with symmetrical patterns? As far as I know, when using symmetrical patterns, the integrated_x and y would get you zero values when landing. Is there a way to change the source code or is there alternative solutions?