SecondView fix

Sample app should work now as expected.
this is the patch
Always set layout bounds except edit mode