Fixing an issue with resizing and Bootstrap, as seen in Issue 4319