Steps to reproduce: 1. Open the app and let the CameraView start 2. Click on the device task manager and send the app to the background 3. Take the app to the foreground again 4. The Preview size has changed, sometimes it is even broken.