Add support for frame attribute in fig element in PDF #1701