Prevented subrequirement buttons from being cut off when resizing window