fix resolution crash

Attempt to fix a crash if screen resolution is lower than 800x600 (can happen on the rPi if `hdmi_safe=1` in `/boot/config.txt`).

Might fix (https://github.com/Aloshi/ES-config/issues/17)[https://github.com/Aloshi/ES-config/issues/17]