- Revised migrate method to process each screen independently, preventing
merging of items from different screens
- Implemented dynamic item placement logic to maintain relative positions
when changing grid sizes
These changes address issues with item positioning, screen merging, and
maintain a more intuitive layout when changing grid sizes. The migration
now respects the original screen structure and preserves relative item
positions as much as possible
- closes : #5016
- closes : #5003
- closes : #4809