Genuine question: does the FOV of the shot indicate that Yavin IV would be visible from the Death Star? An observer watching from a third point in space (like the camera here) might be able to look on either side of the Yavin gas giant to see both objects, but they might not be able able to see each other nonetheless.
I asked myself the same question when I saw this, but after looking at it a couple times, I’m pretty sure both the Death Star and Yavin IV are positioned such that it’s still a problem. The rotation itself means the camera can’t be too distant (i.e. with a zoom), or the perspective wouldn’t change that much when the camera turned.