Fix shadow in extended images