[TIMOB-12037] Ensure size and position flags are cleared on layout
Merge pull request #3676 from vishalduggal/timob-12037-21X

[TIMOB-12037] 2_1_X Ensure size and position flags are cleared on layout