Updated PDF and PNG exporters to adhere custom dimensions as well.