Fixes #17 by inverting the logic of catching empty graphics.