This question is similar to one I answered here: https://stackoverflow.com/a/79410774/18161884.
In my answer, I explain how to set priorities for the camera and joystick to ensure they render correctly. Check it out for a detailed explanation and code examples. Hope this helps! 🚀