Cosmos earn first home win of season at MCU Park