fixed simple collide detection bug.
added obstacle pooling