Fixes nested compositor logic to use surface protocol properly