Camera is now working as expected, however still very buggy.