allow for hiding layers in getPixmap layer range