Add basic collision detection