fix for touch if max areas smaller than 5
fixed hdr and crash on touch to focus