make sure getFocusedEditor(), getActiveEditor() and getCurrentFullEditor() return NULL when an image is displayed