Fix broken images when application is deployed on custom path.