Default [Q] Front facing camera issue - software or hardware problem?

I recently bought a nexus 4 second hand, came rooted/recovery/etc. Front facing camera is not working right. It's sensitive, pointing it at a bright window will make it turn a shade of white, pointing it at a face will make it go a shade of pink. I went back to stock 4.4.2 and the issue is still present.

Would this be software or hardware caused, and if so, what is the problem I'm looking at?

Thanks in advance!