prevent non-visible layer from drawing