fix selection of default media context