WICKET-5163 Implementing markup loading by extending ResourceStreamLocator produces errors with inherited markup