[symfony2] Fix a bug when moving base layout