Fixed resizing setting incorrect regions