Invalidate strut context menus on visibility change. Fixes #70.