trying to solve the bug where the camera doesn't properly show a rotated screen after the device rotates
desperately trying to fix the rotate bug