Window resizing is fixed to ignore the menu bar. Part 2