This is not a dream. The top rack of your dishwasher is (probably) adjustable. Whatever height you always left it at, that was only one of multiple options. Go, adjust it. Now you can fit your pans ...