Don't mutate if shape is not moved (dx = 0, dy = 0)
Reproduce steps:

1. Use UI wireframe library
2. Create a tab container and place several tabs
3. Just select a tab
4. The tab is placed outside of the tab container
