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

[TIMOB-12037] 3_0_X Ensure size and position flags are cleared on layout