Fix png plugin

- fix that plugin for invalid direction (z direction) in 2D is not disabled
- fix that plugin is not disabled if sliding window is active and slice "xz" is selected