Avoid false positives for empty graphics

Previously some non-empty graphics were identified as empty.
This should avoid those occurrences.