Fix to set fixed layout example only for Document