This accurately represent the fact that the concept of frames itself is ugly. There are very, very few situations where you actually should use frames. Static, non-scrolling portions of a page are better done with CSS position: fixed, and re-using code is better done with server-side includes.
Frames break bookmarking and reloading, too.