Does the location of "main buttons" affect usability?

Here we have Meta Stack Exchange:

MSE

The "Ask Question" button is part of the "search results" group. Could this possible confuse users? Should site-wide "main" buttons always be placed on the header bar?