Fix xml editor full screen functionality