Fixes CRAH when reloading a stylesheet from the resource manager and having layouts in navigation item title view.