attempt to fix cameracraft crashes