I was originally clearing args and continuing, but noticed that it was causing some regression tests to fail because we're not rendering certain elements. The issue is that arguments are being passed to commands that are not supposed to take any arguments.

Other pdf viewers render the failing pdfs as expected, so I assume this is how they're handling it: by running commands that are passed too many arguments.