Fixed the camera bug by placing everything in oncreat to on resume