fix(.pane): make pane class have overflow: hidden

Fixes #1218