Fixed the bug that prevented creating a box on expanded space