Fixes broken images on unpublished sub pages