Fix image issues when loading web root