Try to fix the legacy pagination popover

(Actually I only enabled CALayer for the container.)

Also deleted a NSView that was thinking it was a NSButton, invisible, and not connected to anything. Hopefully no one will miss that thing.