Fixes the mysterious jumping popup panels.
Patch by: jgw
Review by: rdayal



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1118 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/PopupPanel.java b/user/src/com/google/gwt/user/client/ui/PopupPanel.java
index 277d31b..18cf9d3 100644
--- a/user/src/com/google/gwt/user/client/ui/PopupPanel.java
+++ b/user/src/com/google/gwt/user/client/ui/PopupPanel.java
@@ -50,7 +50,6 @@
    */
   public PopupPanel() {
     super(impl.createElement());
-    DOM.setStyleAttribute(getElement(), "position", "absolute");
   }
 
   /**
@@ -303,6 +302,7 @@
     DOM.addEventPreview(this);
 
     RootPanel.get().add(this);
+    DOM.setStyleAttribute(getElement(), "position", "absolute");
     impl.onShow(getElement());
   }