Fixing the resizing issue as seen in Bootstrap issue 4319