Resizable: modified to allow resizing when resizables are nested.

Fixes #5025
Closes gh-1149