Camera2D limits behaving unexpectedly when rotated

Godot Version

4.4-dev2

Question

When moving a camera with limits, the limits do not move and appear to be set in world-space, as you would expect. However, when the camera is rotated at all, moving the camera seems to move the limits as well.

Steps to reproduce:

  1. Add Camera2D to scene
  2. Set limit values to smaller values
  3. Enable Draw Limits to see the limits in the editor
  4. Play around with moving the camera without and with rotation

Is this intended behavior or a bug? If this is intentional, then this makes it very difficult to rotate a player/camera and keep the camera within a specified bounds.