Fixed popupDiv cross-browser width issues