Simplify setting geometry

That should be a 3-step operation:
   1. Set internal geometry
   2. Clip NSWindow and its children from parent frame
   3. Handle events

Change-Id: If9e218a3295ec5723053b3530d3e9fbb9ba1e170