Fixing minor bug in MapPanel. Needed a main system null check.