fix for moving obstacles, closes #8