Fix issue with mock camera being used on Android