Fixed odd spacing problem when window is resized.