Fix first pop case on some browser