fixes contact margin in firefox