If I have a Window that is 800X600, and a custom canvas button that has its top at 558
Without the menubar we have the following layout.

Adding a menubar, and keeping the button top at 558 we have the following layout.

Notice the frame of the window is visibly closer to the button