discard resize callback if not resizing #29