In panel-element, call space pen attach hooks after attached

Currently, the attach callbacks are called before the panel item is actually attached to the DOM, so if they try to read/modify things like focus, it won't work.