Drawind only visible Layers. Atlas fix