A rectangle is rendered as a solid rectangle instead of a rectangle with no fill.
Dialog for inputting the password should be implemented in order to be able to decrypt the file content.
It is actually checked and only the appearance is wrong. When the file is saved the checkboxes states are as expected.
This behavior is observed with PdfImportSettings.ReadOnDemand setting only.