testing collision with Tiled