Windows must update the right edge (-1) of the last panel upon drawing instead of relying on WM_SIZE.