#1222494 by dereine: Respect the output of set_display on some other places, there might be other ones as well