Fixed interface getting smaller from resizeTo()