Fixes for spawning of obstacles