Add method to set whether or not the overlay should be kept when video surface deactivated.