Fix gridstack behavior.