Fix the bug about "Space" button