Re #8909. Fixes to TiledWindow reshaping and moving widgets.

Updated python interface. Added new tests.