ZF-1988: Page graphics state is inherited

Description

Page graphics state is inherited even document is loaded and new content is added

Comments

Fixed.