Fixed invisible buttons and notebackground and selection save\/ restore when inserting an image