Fixed some stuff that made resizing the browser window look wrong.