Fixed little bug of collision