Note that the -hidemargin option is documented as per entry.

But in reality, all margins for all entries are hidden.

Just fixing this would solve one issue.