fixed position glitches when resizing in component library