Fix the fix of infinite loop of powerup spawning.
Merge branch 'hotfix/v0.2.7-BETA'