renderers: fix choosing best resolution