Clamp max resolution at 1280.