fix containment resizable for chrome / safari