perform instance check to avoid duplicating buffered image
Merge pull request #1 from trajar/master

Avoid duplicating buffered image