Crash was caused by missed offscreen OpenGL buffer. Added checking around this stuff. Also fixed crash of simple "Image from view operator". Note: This commit fixes only crashing, you'll be still unable to use this tools.