*** 325,334 **** --- 325,336 ---- if (!isEmbedded() && !isTargetUndecorated()) { lastKnownInsets.put(getClass(), in); } if (!in.equals(dimensions.getInsets())) { handleCorrectInsets(in); + } else { + content.setContentBounds(dimensions); } insets_corrected = true; } } }