fix 33856: Selecting 0 as images's width/height is forbidden