Reverting last commit, overzealous.
Fixing panel z sorting.
If visuals get surface set after being attached to visual parent, they need to be added into surface up dirty.