It looks as though what was a single "menu button" named "PDF" has become two items in Ventura -- a "button" and a "menu button", both named "PDF". And the KM action chooses the button, not the menu button.
A quick fix might be to use a "Detect Image" action then click just inside the right edge of the detected image. Or maybe use AppleScript GUI scripting -- you'd have to target the correct process but it would be something like:
tell application "System Events"
tell item 1 of (every process whose frontmost is true)
click menu button 1 of group 2 of splitter group 1 of sheet 1 of window 1
end tell
end tell
...which should work for the frontmost window of the frontmost app, once the "Print" sheet has been opened.