Tried a clean flash as well by wiping all user data in TWRP and installing the rom again, issue persists. Did the camera just decide to die or there is still a chance of software fault?
Edit:
Tried various rom versions, even stock rom and did several full wipes, still doesn't work.. it worked...