compensate with margin for positioning of collider. Bug fix #38