fix notifications not sticking to window

fixes an issue with cached query not containing any DOM elements