WP-2719: Add panopoly_magic hack for now to fix view modes.