Fix the bug that ball didn't spawned