Resizing button fix