don't draw image without data