This allows a user to move the windoow before creating the popup which
is extremely useful in testing constraints. Also makes it very easy to
mod thsi code into a grabbing popup for other tests.
This patch also improve the painted surfaces to show the anchor rect
around where we place the popup which is easier for visual debugging.
No library code changes