Widget does not work with orthographic camera.

When setting a widget to visible it flickers out of existence. The issue does not happen with a perspective camera. I saw a comment saying to check the tick when offscreen option for the widget however that is greyed out. Any ideas how to fix this?