renderers: fix choosing best resolution

see title