Removes call to the deprecated getActivePaneItem. Fixes #8.