Fixed resizing issue occurring on some Windows browsers