Fix draw order of contents vs. toolbar in ApplicationWindow

Task-number: QTBUG-31207

Change-Id: I8843988d0e2dfe505aae374325c23caf0736d05b