Small improvement on selecting rendering backend