init showSelectionbox in constructor