refactor spawnBugInterval code for readability and fix hitbox on bug