app: only enable the resolution chain button if xres and yres are the same

(cherry picked from commit a8592e735276efbe11381538f7dfa8f004a2afbc)