Fix duplicate contacts. Try to fix viewport issues.