Objects are not turned inside out when giving them a negative scale thanks to the fixes in #12787 However when setting a negative scale on the camera, the scene is turned inside out regardless.
Looking at the changes made in #12787 I believe that instead of taking the determinant of object.matrixWorld it should be the determinant of object.modelViewMatrix which includes the camera view transform.
Local testing confirms that this resolves the issue.