Fixed the bug with item collision test.