update MoleculeSelectorPanel to inherit from Rectangle