bug fix: obstacles spawn delay correctly changed when resize