Bug 191199 [Regression] Rule and Margin in masterpage isn't aligned
Description: New a report design file, go to the master page tab, you will find the rule and margin is not aligned. Build version:2.2.0.v20070606-0630
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportDesignEditPart.java
* @see org.eclipse.gef.EditPart#getDragTracker(org.eclipse.gef.Request)
	 */
	public DragTracker getDragTracker( Request req )
	{
		if ( req instanceof SelectionRequest
				&& ( (SelectionRequest) req ).getLastButtonPressed( ) == 3 )
			return new DeselectAllTracker( this );
		return new RootDragTracker( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.designer.internal.ui.editors.schematic.editparts.AbstractReportEditPart#refreshFigure()
	 */
	public void refreshFigure( )
	{
		
		SimpleMasterPageHandle masterPageHandle = getSimpleMasterPageHandle();
		Dimension size = getMasterPageSize( masterPageHandle );
		Rectangle bounds = new Rectangle( 0, 0, size.width - 1, size.height - 1 );
		ReportRootFigure figure = (ReportRootFigure) getFigure( );
		figure.setShowMargin( showMargin );
		
		((ReportDesignLayout)(figure.getLayoutManager())).setAuto(DesignChoiceConstants.REPORT_LAYOUT_PREFERENCE_AUTO_LAYOUT.
				equals(( (ReportDesignHandle) getModel( ) ).getLayoutPreference()));
		if ( !showMargin )
		{
			Insets mg = getMasterPageInsets( masterPageHandle );
			bounds.width -= mg.getWidth( );
			bounds.height -= mg.getHeight( );