Tweak side image attribute handling, so it works w/ menus.

Fixes #59.