From a Magix Vegas forum FAQ:
“If a red square bracket appears at the end of one of your video events then you are in Expanded Edit Mode. To exit expanded edit mode, do one of the following:
Choose “Edit” > “Select” > “Exit Expanded Edit Mode”
Press 5 on the numeric keypad
Double-click the event edge
Press Esc on your keyboard“