This works but after a while it's caused issues with the camera. Literally all apps that use the camera have shown a black screen and said that the app has stopped working. Removing it from the restart and shut down spot worked for a few hours