Fixed an automagical resizing bug