Protect against NPE's accessing listener, added getSelectionBoxBounds() method