prevent resize callback (and indeed the whole resizing logic) from getting