tile collision test