Fix map attachment rendering.