Create the titlebar overlay behavior for all elements