Tbh. I don't mind a few bugs in OOS camera, the modes I use do work fine.yes bro i did tried all of my options including this one however the OOS camera it installs is that of an old version and the portrait mode doesn't quite work when i was using derpfest rom. In your case since you're running KOSP there is a better alternative which is to install the OOS camera using Magisk but having said that, you'd have to root your device. Once you have it you can just install the module and it will give u OOS camera which is free from anybugs on KOSP
I don't want to root my device just for the camera.