Added a workaround to fix image navigation on production.