fix limited range for picture viewer, OpenGL part only
Merge pull request #5457 from FernetMenta/colors

fix limited range for picture viewer, OpenGL part only